package com.gouqi.lpl.controller;

import com.gouqi.lpl.domain.Mvp;
import com.gouqi.lpl.service.MvpService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/mvp")
public class MvpController {

    @Resource
    private MvpService mvpService;

    @GetMapping("/get")
    public List<Mvp> getMvp() {
        return mvpService.getMvp();
    }

}
